package com.evil.kingdom.listener.event;

import org.springframework.context.ApplicationEvent;

import java.time.LocalDateTime;

/**
 * 时钟事件-毫秒
 *
 * @author LY
 * @date 2024/5/1810:17
 */
public class MillisecondTickEvent extends ApplicationEvent {

    public MillisecondTickEvent(LocalDateTime time) {
        super(time);
    }

    public LocalDateTime getTime() {
        return (LocalDateTime) super.getSource();
    }
}
